package com.valuegroup.smarttodo.data.model;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.NotNull;

import java.io.Serializable;
import java.util.Date;
import org.greenrobot.greendao.annotation.Generated;

/**
 * 总结内容主题表
 */
@Entity
public class SumTopic implements Serializable {
    private static final long serialVersionUID = 5964580506827555869L;
    @Id(autoincrement = true)
    private Long id;

    // 主题
    private String title;
    // 可用
    private Boolean usable;
    private Integer sort;

    @NotNull
    private Date createdDt;
    @NotNull
    private Date updatedDt;
    @NotNull
    private Integer status;
    @Generated(hash = 993850231)
    public SumTopic(Long id, String title, Boolean usable, Integer sort,
            @NotNull Date createdDt, @NotNull Date updatedDt,
            @NotNull Integer status) {
        this.id = id;
        this.title = title;
        this.usable = usable;
        this.sort = sort;
        this.createdDt = createdDt;
        this.updatedDt = updatedDt;
        this.status = status;
    }
    @Generated(hash = 1384014419)
    public SumTopic() {
    }
    public Long getId() {
        return this.id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public String getTitle() {
        return this.title;
    }
    public void setTitle(String title) {
        this.title = title;
    }
    public Boolean getUsable() {
        return this.usable;
    }
    public void setUsable(Boolean usable) {
        this.usable = usable;
    }
    public Integer getSort() {
        return this.sort;
    }
    public void setSort(Integer sort) {
        this.sort = sort;
    }
    public Date getCreatedDt() {
        return this.createdDt;
    }
    public void setCreatedDt(Date createdDt) {
        this.createdDt = createdDt;
    }
    public Date getUpdatedDt() {
        return this.updatedDt;
    }
    public void setUpdatedDt(Date updatedDt) {
        this.updatedDt = updatedDt;
    }
    public Integer getStatus() {
        return this.status;
    }
    public void setStatus(Integer status) {
        this.status = status;
    }


}
